package com.bot.adms.model.entity;

import com.bot.adms.model.bo.ApplyInfoBo;

import java.util.Date;

/**
 * 投放申请信息实体类
 */
public class ApplyInfo {
    public ApplyInfo(ApplyInfoBo applyInfoBo) {
        this.id = applyInfoBo.getId();
        this.project = applyInfoBo.getProject();
        this.linkManName = applyInfoBo.getLinkManName();
        this.status = applyInfoBo.getStatus();
        this.tel = applyInfoBo.getTel();
        this.startTime = applyInfoBo.getStartTime();
        this.endTime = applyInfoBo.getEndTime();
        this.createTime = applyInfoBo.getCreateTime();
        this.updateTime = applyInfoBo.getUpdateTime();
        this.submitTime = applyInfoBo.getSubmitTime();
    }
    public ApplyInfo() {
    }
    /**
     * 投放申请 id
     */
    private Long id;
    /**
     * 项目
     */
    private String project;
    /**
     * 联系人名称
     */
    private String linkManName;

    /**
     * 状态：0.已通过 1.已驳回 2.待审核 3.草稿
     */

    /**
     * 联系电话
     */
    private String tel;
    /**
     * 投放申请状态
     */
    private Integer status;
    /**
     * 开始投放时间
     */
    private Date startTime;
    /**
     * 结束投放时间
     */
    private Date endTime;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 最后修改时间
     */
    private Date updateTime;
    /**
     * 提交时间
     */
    private Date submitTime;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getProject() {
        return project;
    }

    public void setProject(String project) {
        this.project = project;
    }

    public String getLinkManName() {
        return linkManName;
    }

    public void setLinkManName(String linkManName) {
        this.linkManName = linkManName;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Date getSubmitTime() {
        return submitTime;
    }

    public void setSubmitTime(Date submitTime) {
        this.submitTime = submitTime;
    }

}
